const app = getApp()
const utils = app.globalData.utils

// 注册接口
export const registerService = (params) => utils.request({url: '/app/login/register', data: params, method: 'POST'})

export const loginService = (params) => utils.request({url: '/app/login/login', data: params, method: 'POST'})

export const getWatermar = () => utils.request({url: '/common/watermar'})

export const getDisable = (appName) => utils.request({url: '/common/watermar/disable/' + appName, method: 'POST'})